﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Batalha_Estelar
{
    public class GameConfig
    {

        public static GameConfig GetDefault()
        {
            var config = new GameConfig();

            config.FieldWidth = 550;
            config.FieldHeight = 600;

            config.RootDirectory = "Content";
            config.GameSpeed = 1;
            config.Difficulty = GameDifficulty.Normal;
            config.BackGroundColor = Color.Black;

            config.Player1_StartPosition = new Vector2(250.0f, 500.0f);
            config.MaxEnemies = 3;
            config.Lifes = 3;

            return config;
        }

        #region Constructor

        public GameConfig()
        {
        }

        #endregion

        #region Properties

        public int FieldWidth { get; set; }
        
        public int FieldHeight { get; set; }
        
        public string RootDirectory { get; set; }

        public float GameSpeed { get; set; }

        public GameDifficulty Difficulty { get; set; }

        public Color BackGroundColor { get; set; }

        public Vector2 Player1_StartPosition { get; set; }

        public int MaxEnemies { get; set; }

        public int Lifes { get; set; }

        #endregion
    }

    public enum GameDifficulty
    {
        Easy = -1, Normal = 0, Hard = 1
    }
}
